package org.mine.design.decorator.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.mine.design.decorator.data.RiderOrder;
import org.mine.design.decorator.service.OrderDeliveryAbstractService;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class SignedOrderDeliveryAbstractServiceImpl extends OrderDeliveryAbstractService {

    @Override
    public void accept(RiderOrder riderOrder) {
        super.accept(riderOrder);
        log.info("签约骑手接单报备...");
    }

    /**
     * 配送
     */
    @Override
    public void delivery(RiderOrder riderOrder) {
        super.delivery(riderOrder);
        log.info("签约骑手配送报备...");
    }

    /**
     * 完成
     */
    @Override
    public void complete(RiderOrder riderOrder) {
        super.complete(riderOrder);
        log.info("签约骑手完成报备...");
    }

}
